package com.wanmait.test.service.impl;

import com.wanmait.test.mapper.ProductMapper;
import com.wanmait.test.mapper.ProductTypeMapper;
import com.wanmait.test.pojo.Product;
import com.wanmait.test.pojo.ProductType;
import com.wanmait.test.service.ProductTypeService;
import com.wanmait.test.util.Pager;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**ProductTypeServiceImpl class
 *
 * @author 王志斌
 * @date 2019-02-13
 * */
@Service
public class ProductTypeServiceImpl implements ProductTypeService {
    @Resource
    private ProductTypeMapper productTypeMapper;


    @Override
    public List<ProductType> fingAll() {
        return productTypeMapper.fingAll();
    }
}
